package com.z.platform.controller.persistence.orm.metadataModel;

import java.util.concurrent.ConcurrentMap;

/**
 * desc 拼接sql时用的
 *
 * @author 21051
 */
public class SplicingParams<T> {
    //表名
    private String tableName;
    //数据库对应实体属性
    private T filedSplicing;

    private T placeholderSplicing;
    private T wheresPlaceholder;
    private T wheres;
    private ConcurrentMap<Integer, Where> wheresCondition;

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public T getFiledSplicing() {
        return filedSplicing;
    }

    public void setFiledSplicing(T filedSplicing) {
        this.filedSplicing = filedSplicing;
    }

    public T getPlaceholderSplicing() {
        return placeholderSplicing;
    }

    public void setPlaceholderSplicing(T placeholderSplicing) {
        this.placeholderSplicing = placeholderSplicing;
    }

    public T getWheres() {
        return wheres;
    }

    public void setWheres(T wheres) {
        this.wheres = wheres;
    }

    public ConcurrentMap<Integer, Where> getWheresCondition() {
        return wheresCondition;
    }

    public void setWheresCondition(ConcurrentMap<Integer, Where> wheresCondition) {
        this.wheresCondition = wheresCondition;
    }

    public T getWheresPlaceholder() {
        return wheresPlaceholder;
    }

    public void setWheresPlaceholder(T wheresPlaceholder) {
        this.wheresPlaceholder = wheresPlaceholder;
    }
}
